package com.example.weixinsystem.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.weixin.common.core.entity.SysMenu;
import org.apache.ibatis.annotations.Param;

import java.util.Set;

/**
* @Entity com.example.weixinsystem.com.example.weixingenerator.entity.SysMenu
*/
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    /**
     * 查询用户权限标识
     * @param userId 用户ID
     * @return
     */
    Set<String> queryMenuByUserId(@Param("userId") Integer userId);
}
